package com.hds.modules.sys.entity.esurer;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

/**
 * 短信通知发送记录
 * @Author guonan
 * @Email guonan@yewcn.com
 * @Description
 * @Date 2018/8/6 10:17
 */
@TableName("tb_esurer_sms_records")
public class EsurerSmsRecordsEntity {

    //ID
    @TableId
    private Integer id;

    //用户id
    private Integer uid;

    //短信发送状态[ 0:成功，1:失败 ]
    private Integer status;

    //发送结果描述
    private String desc;

    //发送时间
    private Date sendTime;

    //短信发送错误码[ 000000:发送成功 ]
    private String errorCode;

    @TableField(exist=false)
    private EsurerUserEntity user;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public EsurerUserEntity getUser() {
        return user;
    }

    public void setUser(EsurerUserEntity user) {
        this.user = user;
    }
}
